package com.xc.service;

import com.xc.request.UserLoginRequest;
import com.xc.request.UserRegisterRequest;
import com.xc.utils.JsonData;
import com.xc.vo.UserVO;

/**
 * @author xingchen
 * @create 2021/10/29 10:23
 */
public interface UserService {


    /**
     * 用户注册
     *
     * @param registerRequest
     * @return
     */
    JsonData register(UserRegisterRequest registerRequest);

    /**
     * 用户登录
     *
     * @param userLoginRequest
     * @return
     */
    JsonData login(UserLoginRequest userLoginRequest);

    /**
     * 查看用户详情
     * @return
     */
    UserVO findUserDetail();
}
